package com.xc.erp.modules.erp.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xc.erp.modules.erp.domain.pojo.JshUser;
import org.springframework.data.repository.query.Param;
import java.util.List;

/**
* @author Administrator
* @description 针对表【jsh_user(用户表)】的数据库操作Mapper
* @createDate 2022-12-10 15:54:06
* @Entity com.xc.erp.model.JshUser
*/
public interface JshUserMapper extends BaseMapper<JshUser> {

    List<String> selectPermsAll();

    List<String> selectPermsByUserId(Long id);

    IPage<JshUser> findByPage(IPage<JshUser> page, @Param(Constants.WRAPPER) QueryWrapper<JshUser> ew);

}




